<h1>New book</h1>

<%= error_messages_for :book %>

<% form_for(@book) do |f| %>
	<p>
		<%= f.label :title %>
		<%= f.text_field :title %>
	</p>
  <p>
		<%= f.label :author %>
		<%= f.text_field :author %>
	</p>
	<p>
		<%= f.label :isbn%>
		<%= f.text_field :isbn %>
	</p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', books_path %>
